package com.motong.gongdan.vo.system.DataBoard.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@ApiModel("报工看板请求参数")
@Accessors(chain = true)
public class WorkReportGroupByProcessQuery {

    @ApiModelProperty(value = "统计开始时间", hidden = true)
    private Date reportStartTime;

    @ApiModelProperty(value = "统计结束时间", hidden = true)
    private Date reportEndTime;

    @ApiModelProperty(value = "排除的报工id", hidden = true)
    private List<String> excludedWorkReportIds;

    @ApiModelProperty(value = "验证开始时间", hidden = true)
    private Date verifyStartTime;

    @ApiModelProperty(value = "验证结束时间", hidden = true)
    private Date verifyEndTime;

    @ApiModelProperty("最大详情条数")
    private Integer maxDetailNum = 5;

    @ApiModelProperty("工序编码集合")
    private List<String> processCodes;

    @ApiModelProperty("工艺路线id")
    private Integer processRouterId;

    @ApiModelProperty("报工审批状态0 未审批,1 审批")
    private String verifyState;

    @ApiModelProperty("仅显示有报工的工序")
    private Boolean haveWorkReport = false;

    @ApiModelProperty("工序id集合")
    private List<Integer> processIds;

    @ApiModelProperty(value = "轮数")
    private Integer roundNum = 1;

    @ApiModelProperty(value = "间隔时长(小时)")
    private BigDecimal intervalTime = BigDecimal.valueOf(0.05);

    @ApiModelProperty(value = "页码")
    private Integer page = 1;

    @ApiModelProperty(value = "条数")
    private Integer limit = -1;
}
